<template>
  <h2>{{counter}}</h2>
  <button @click="counter++">+1</button>
</template>
<script>
export default {
  data() {
    return {
      counter: 1
    }
  }
}
</script>

<style scoped>

</style>